﻿<!--#include file="inc/common.asp" -->
<%
'快速登陆页面，可使用iframe嵌入其他页面

if userObj.userId="" then
%>
document.write('<table border=0 cellspacing=0 cellpadding=0><form action="/blog/index.asp" method="post" ><tr><td>'
  +'用户名：<input type="text" name="username" value="<%=userObj.userName%>" size="10" maxlength="10"> '
  +' &nbsp;密码：<input type="password" name="password" size="10" maxlength="10"> '
  +' &nbsp;<input type="checkbox" name="autoLogin" value="true" >以后自动登录 '
  +' &nbsp;<input type=submit name="login" value="登录" style="height:18px;width:60px">'
  +'</td></tr></form></table>'
);  
<%
else
%>
document.write('欢迎<%=userObj.userName%>！<%
    if not isEmpty(userObj.blog) then
        dim blog
        set blog = userObj.blog
        if not isEmpty(blog.blogId) and blog.blogId<>"" then
%>直接进入<a href=/blog/index.asp?blog_id=<%=blog.blogID%> ><%=blog.blogTitle%></a><%
        end if
    end if    
%>');
<%
end if
%>

<!--#include file="inc/end.asp" -->